package cn.mysite.mycompany.vo;

import lombok.Data;

import java.util.List;

//视图对象实体，按照视图层需要封装数据库中的实体
@Data
public class ProductCategoryVo {
    private Integer id;
    private String name;
    private List<ProductCategoryVo> children;
    private String bannerImg;
    private String topImg;
    private List<ProductVo> product;

    public ProductCategoryVo(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
